package cn.gdut.chengcai.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import cn.gdut.chengcai.entity.CountInfo;
import cn.gdut.chengcai.entity.CountInfoExample;

public interface CountInfoDao {
	long countByExample(CountInfoExample example);

	int deleteByExample(CountInfoExample example);

	int deleteByPrimaryKey(Long id);

	int insert(CountInfo record);

	int insertSelective(CountInfo record);

	List<CountInfo> selectByExample(CountInfoExample example);

	CountInfo selectByPrimaryKey(Long id);

	int updateByExampleSelective(@Param("record") CountInfo record, @Param("example") CountInfoExample example);

	int updateByExample(@Param("record") CountInfo record, @Param("example") CountInfoExample example);

	int updateByPrimaryKeySelective(CountInfo record);

	int updateByPrimaryKey(CountInfo record);
}